<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::MultilevelMesh&lt; MeshCompositionType, BaseMeshType, MeshLevelType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">MultilevelMesh</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_multilevel_mesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::MultilevelMesh&lt; MeshCompositionType, BaseMeshType, MeshLevelType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Multi level Meshes with successively double the resolutions.  
 <a href="class_s_p_h_1_1_multilevel_mesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_base_mesh_type.html">BaseMeshType</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9c25698f1f6a8224fa0d9d25d251e47f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html#a9c25698f1f6a8224fa0d9d25d251e47f">MultilevelMesh</a> (MeshCompositionType &amp;mesh_composition, <a class="el" href="class_s_p_h_1_1_particle_adaptation.html">ParticleAdaptation</a> &amp;particle_adaptation, <a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> tentative_bounds, Real reference_spacing, <a class="el" href="classsize__t.html">size_t</a> total_levels, Real maximum_spacing_ratio, <a class="el" href="classsize__t.html">size_t</a> buffer_width)</td></tr>
<tr class="separator:a9c25698f1f6a8224fa0d9d25d251e47f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d5b140e8b8caa3c54e5a7255cd8955a"><td class="memItemLeft" align="right" valign="top"><a id="a3d5b140e8b8caa3c54e5a7255cd8955a"></a>
StdVec&lt; MeshLevelType * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getMeshLevels</b> ()</td></tr>
<tr class="separator:a3d5b140e8b8caa3c54e5a7255cd8955a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06b262f4d760545b5a31f9d6fc946260"><td class="memItemLeft" align="right" valign="top"><a id="a06b262f4d760545b5a31f9d6fc946260"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>writeMeshToPltFile</b> (std::ofstream &amp;output_file) override</td></tr>
<tr class="separator:a06b262f4d760545b5a31f9d6fc946260"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab5851c04d44fe36e84084c79b50c6878"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html#ab5851c04d44fe36e84084c79b50c6878">total_levels_</a></td></tr>
<tr class="separator:ab5851c04d44fe36e84084c79b50c6878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05c418e450ba39667faf9f72cd25540b"><td class="memItemLeft" align="right" valign="top"><a id="a05c418e450ba39667faf9f72cd25540b"></a>
StdVec&lt; MeshLevelType * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mesh_levels_</b></td></tr>
<tr class="separator:a05c418e450ba39667faf9f72cd25540b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class MeshCompositionType, class BaseMeshType, class MeshLevelType&gt;<br />
class SPH::MultilevelMesh&lt; MeshCompositionType, BaseMeshType, MeshLevelType &gt;</h3>

<p>Multi level Meshes with successively double the resolutions. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9c25698f1f6a8224fa0d9d25d251e47f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c25698f1f6a8224fa0d9d25d251e47f">&#9670;&nbsp;</a></span>MultilevelMesh()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MeshCompositionType , class BaseMeshType , class MeshLevelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh</a>&lt; MeshCompositionType, <a class="el" href="class_base_mesh_type.html">BaseMeshType</a>, MeshLevelType &gt;::<a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">MultilevelMesh</a> </td>
          <td>(</td>
          <td class="paramtype">MeshCompositionType &amp;&#160;</td>
          <td class="paramname"><em>mesh_composition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_particle_adaptation.html">ParticleAdaptation</a> &amp;&#160;</td>
          <td class="paramname"><em>particle_adaptation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a>&#160;</td>
          <td class="paramname"><em>tentative_bounds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>reference_spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>total_levels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>maximum_spacing_ratio</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>buffer_width</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>all mesh levels aligned at the lower bound of tentative_bounds</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ab5851c04d44fe36e84084c79b50c6878"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5851c04d44fe36e84084c79b50c6878">&#9670;&nbsp;</a></span>total_levels_</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MeshCompositionType , class BaseMeshType , class MeshLevelType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> <a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh</a>&lt; MeshCompositionType, <a class="el" href="class_base_mesh_type.html">BaseMeshType</a>, MeshLevelType &gt;::total_levels_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>level 0 is the coarsest </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
